﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace IBNet
{
   /// <summary>
   /// A class for storing Algorithm Order Parameters.
   /// </summary>
   public class TagValue
   {
      private readonly string name;
      private readonly string value;

      /// <summary>
      /// Creates a new TagValue.
      /// </summary>
      ///<param name="name">The name of the tag.</param>
      ///<param name="value">The value of the tag.</param>
      public TagValue(string name, string value)
      {
         this.name = name;
         this.value = value;
      }

      /// <summary>
      /// Gets the tag name.
      /// </summary>
      public string Name { get { return name; } }

      /// <summary>
      /// Gets the tag value.
      /// </summary>
      public string Value { get { return value; } }
   }
}
